package com.itheima.Synchronized;

public class Test {
    public static void main(String[] args) {
        Account account = new Account("账务：91",1000000);

        new DrawThread("杨先生取钱",account).start();



        new DrawThread("马先生取钱", account).start();

        Account account1 = new Account("账号：1001",1000000);
        new DrawThread("朱先生取钱", account1).start();
        new DrawThread("仇先生取钱", account1).start();
    }

}
